package com.example.shushiyunsst.fragment.main.home.child.new_sale.chlid.my_order_list.chlid.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.shushiyunsst.fragment.main.home.child.new_sale.chlid.bean.SstShopOrderChild;

import java.util.ArrayList;
import java.util.List;

public class OrderInfoBean {


    /**
     * orderId : 7
     * goodsId : 0
     * goodsLogo : null
     * goodsName : null
     * goodsNums : 3
     * goodsPrice : 0
     * totalPrice : 146
     * orderStatus : 2
     * createTime : 2020-10-14 16:01:13
     * updateTime : 2020-10-14 16:01:13
     * payType : 0
     * receiverName : 333
     * receiverPhone : 15555599599
     * receiverAddr : 天津市,市辖区,河西区,挂甲寺街道 , 涵涵祖师
     * goodsFare : 0
     * orderDesc :
     * orderNo : ORD20201014155645166669126
     * uid : 2
     * account : 15673145411
     * userNumber : 2719686
     * goodsSize : null
     * goodsColor : null
     * orderType : 1
     * gbSkpId : 0
     * isChild : 0
     * expressNo : null
     * childOrds : null
     */

    @JSONField(name = "orderId")
    private int orderId;

    @JSONField(name = "goodsId")
    private int goodsId;

    @JSONField(name = "goodsLogo")
    private String goodsLogo;

    @JSONField(name = "goodsName")
    private String goodsName;

    @JSONField(name = "goodsNums")
    private int goodsNums;

    @JSONField(name = "goodsPrice")
    private double goodsPrice;

    @JSONField(name = "totalPrice")
    private int totalPrice;

    @JSONField(name = "orderStatus")
    private int orderStatus;

    @JSONField(name = "createTime")
    private String createTime;

    @JSONField(name = "updateTime")
    private String updateTime;

    @JSONField(name = "payType")
    private int payType;

    @JSONField(name = "receiverName")
    private String receiverName;

    @JSONField(name = "receiverPhone")
    private String receiverPhone;

    @JSONField(name = "receiverAddr")
    private String receiverAddr;

    @JSONField(name = "goodsFare")
    private int goodsFare;

    @JSONField(name = "orderDesc")
    private String orderDesc;

    @JSONField(name = "orderNo")
    private String orderNo;

    @JSONField(name = "uid")
    private int uid;

    @JSONField(name = "account")
    private String account;

    @JSONField(name = "userNumber")
    private String userNumber;

    @JSONField(name = "goodsSize")
    private String goodsSize;

    @JSONField(name = "goodsColor")
    private String goodsColor;

    @JSONField(name = "orderType")
    private int orderType;

    @JSONField(name = "gbSkpId")
    private int gbSkpId;

    @JSONField(name = "isChild")
    private int isChild;

    @JSONField(name = "expressNo")
    private String expressNo;

    @JSONField(name = "tokenType")
    private String tokenType;

    public String getTokenType() {
        return tokenType;
    }

    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }

    @JSONField(name = "childOrds")
    private List<SstShopOrderChild> childOrds;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsLogo() {
        return goodsLogo;
    }

    public void setGoodsLogo(String goodsLogo) {
        this.goodsLogo = goodsLogo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getGoodsNums() {
        return goodsNums;
    }

    public void setGoodsNums(int goodsNums) {
        this.goodsNums = goodsNums;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(int goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverAddr() {
        return receiverAddr;
    }

    public void setReceiverAddr(String receiverAddr) {
        this.receiverAddr = receiverAddr;
    }

    public int getGoodsFare() {
        return goodsFare;
    }

    public void setGoodsFare(int goodsFare) {
        this.goodsFare = goodsFare;
    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getGoodsSize() {
        return goodsSize;
    }

    public void setGoodsSize(String goodsSize) {
        this.goodsSize = goodsSize;
    }

    public String getGoodsColor() {
        return goodsColor;
    }

    public void setGoodsColor(String goodsColor) {
        this.goodsColor = goodsColor;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public int getGbSkpId() {
        return gbSkpId;
    }

    public void setGbSkpId(int gbSkpId) {
        this.gbSkpId = gbSkpId;
    }

    public int getIsChild() {
        return isChild;
    }

    public void setIsChild(int isChild) {
        this.isChild = isChild;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public  List<SstShopOrderChild> getChildOrds() {
        if (childOrds == null) childOrds = new ArrayList<>();
        return childOrds;
    }

    public void setChildOrds( List<SstShopOrderChild> childOrds) {
        this.childOrds = childOrds;
    }
}
